/*
 * Copyright (c)  2020,  DataPipeline
 * All rights reserved.
 *
 * Id:UpdateTime.java   2020-07-18 20:57 wanglijun
 */
package cn.datacare.orm.annotation;

import cn.datacare.orm.annotation.builder.SampleUpdateTimeBuilder;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * <p>
 * Title: 用于字段的实现属性
 * </p>
 * <p>
 * Description: 用于属性字段上，在插入或者更新的时候,生成一个当前时间，实现类是UpdateTimePreHandler
 * </p>
 * <p>
 * Copyright: Copyright (c) 2020
 * </p>
 * <p>
 * Company/Department: DataPipeline
 * </p>
 *
 * @author wanglijun
 * @version 1.0
 * @since 2020-07-18 20:57
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.METHOD, ElementType.FIELD})
@Builder(value = SampleUpdateTimeBuilder.class)
public @interface UpdateTime {

}

